package com.zhuzi.utils;

import java.util.function.Function;

/**
 * @author zhuzi
 * 2022/8/14 22:00
 */
public interface Constant {


    interface Ths {
        interface Gn {
            //概念变了样式了|https://img-blog.csdnimg.cn/20159d13eff94087941bb4386ab4b73f.png
            Function<String, Boolean> isNeedNews = s -> s.contains("概念") && (s.contains("公司前线") || s.contains("概念动态"));
        }
    }

    interface BloomFilterKey {
        String prefix = "holiday:";
        String hqzxIncre = "hqzx:incr:{}:{}";
        String hqzxIncreLess = "hqzx:incrless:{}:{}";
        String hqzxPrice = "hqzx:price:{}:{}";

        String jcNews = "jc:{}";

    }

    interface Emojis {
        /**
         * 笑脸-微笑
         */
        String xiao_weixiao = "\uD83D\uDE0A";

        /**
         * 笑脸-冰
         */
        String xiao_bing = "\uD83E\uDD76";

        String RMB = "\uD83D\uDCB0";

        /**
         * 声音-扩音器
         */
        String sy_kyq = "\uD83D\uDCE3";

        interface DingEmoji {
            String huoJian = "\uD83D\uDE80";

            String right = "\uD83D\uDC49";
        }

    }

}
